﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Bus;
using BonsaiScrum.Core.Domain;


namespace BonsaiScrum.Core.Command
{
    public class CreateNewUser : ICommand
    {
        public string Name { get; private set; }
        public string Password { get; private set; }
        public string FirstName { get; private set; }
        public string LastName { get; private set; }
        public PermissionLevel PermitionLv { get; private set; }

        public CreateNewUser(string name, string password, string firstname, string lastname, PermissionLevel permitionlv)
        {
            PermitionLv = permitionlv;
            Name = name;
            Password = password ;
            FirstName = firstname;
            LastName = lastname;
        }
    }
}
